﻿/*----------------------------------------------------------------
    // Copyright (C) 2009 江苏华招网
    // 版权所有。 
    // 作者：庄金冬 
    //
    // 文件名：Distribution.cs
    // 文件功能描述：有关配送情况视图实体类
    // 创建标识：庄金冬2009-04-09 11:21:12
    //
    // 修改标识：
    // 修改描述：
    //
    // 修改标识：
    // 修改描述：
    //
    // 审核人：
    // 审核时间：
    // 审核说明：
 //----------------------------------------------------------------*/

using System;
using System.Collections.Generic;

using System.Text;
using HZ.DrugTrade.Model.Enum;

namespace HZ.DrugTrade.Model.View
{
    /// <summary>
    /// 有关配送情况视图实体类
    /// </summary>
    [Serializable]
    public class Distribution
    {

        /// <summary>
        /// 流程编号
        /// </summary>
        public string FlowID
        {
            get;
            set;
        }
        /// <summary>
        /// 流程名称
        /// </summary>
        public string FlowName
        {
            get;
            set;
        }

        /// <summary>
        /// 采购单编号
        /// </summary>
        public string OrderID
        {
            get;
            set;
        }

        /// <summary>
        /// 采购单明细编号
        /// </summary>
        public string OrderDetailID
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构编号
        /// </summary>
        public string HospitalID
        {
            get;
            set;
        }
        /// <summary>
        /// 采购单名称
        /// </summary>
        public string OrderName
        {
            get;
            set;
        }
        /// <summary>
        /// 采购单总额
        /// </summary>
        public decimal? TotalAmount
        {
            get;
            set;
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public System.DateTime? StartTime
        {
            get;
            set;
        }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public System.DateTime? PlanEndTime
        {
            get;
            set;
        }
        /// <summary>
        /// 制定人
        /// </summary>
        public string PlanPerson
        {
            get;
            set;
        }
        /// <summary>
        /// 制定时间
        /// </summary>
        public System.DateTime? PlanTime
        {
            get;
            set;
        }



        /// <summary>
        /// 医疗机构名称
        /// </summary>
        public string HospitalName
        {
            set;
            get;
        }

        /// <summary>
        /// 区域编号
        /// </summary>
        public string AreaID
        {
            set;
            get;
        }

        /// <summary>
        /// 商品编号
        /// </summary>
        public string GoodsID
        {
            get;
            set;
        }

        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc
        {
            set;
            get;
        }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit
        {
            get;
            set;
        }
        /// <summary>
        /// 材质
        /// </summary>
        public string Material { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string SortName
        {
            get;
            set;
        }
        /// <summary>
        /// 产品类别
        /// </summary>
        public string QualityLevel
        {
            get;
            set;
        }
        /// <summary>
        /// 生产企业名称
        /// </summary>
        public string CompanyName_SC
        {
            get;
            set;
        }

        /// <summary>
        /// 投标企业名称
        /// </summary>
        public string CompanyName_TB
        {
            get;
            set;
        }

        /// <summary>
        /// 产品名称称
        /// </summary>
        public string GoodsName
        {
            get;
            set;
        }

        /// <summary>
        /// 转换系数
        /// </summary>
        public int? Factor
        {
            get;
            set;
        }
        /// <summary>
        /// 包装
        /// </summary>
        public string Pack
        {
            get;
            set;
        }
        /// <summary>
        /// 最小包装单位
        /// </summary>
        public string PackUnit
        {
            get;
            set;
        }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductID
        {
            get;
            set;
        }

        /// <summary>
        /// 分类编号
        /// </summary>
        public string SortID
        {
            get;
            set;
        }

        /// <summary>
        /// 生产企业编号
        /// </summary>
        public string CompanyID_SC
        {
            get;
            set;
        }

        /// <summary>
        /// 投标企业编号
        /// </summary>
        public string CompanyID_TB
        {
            get;
            set;
        }

        /// <summary>
        /// 父分类企业编号
        /// </summary>
        public string ParentSortID
        {
            get;
            set;
        }

        /// <summary>
        /// 采购目录编号
        /// </summary>
        public string ProcureCatalogID
        {
            get;
            set;
        }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string ProjectID
        {
            get;
            set;
        }

        /// <summary>
        /// 中标价格
        /// </summary>
        public decimal? ProcurePrice
        {
            get;
            set;
        }

        /// <summary>
        /// 采购目录是否启用（0否;1是）
        /// </summary>
        public bool? IsUsing
        {
            get;
            set;
        }
        /// <summary>
        /// 状态（是否流程中）（0否;1是）
        /// </summary>
        public bool? IsFlowing
        {
            get;
            set;
        }
        /// <summary>
        /// 目录来源:0正常添加;1临时采购
        /// </summary>
        public int? SortSource
        {
            get;
            set;
        }

        /// <summary>
        /// 采购项目名称
        /// </summary>
        public string ProjectName
        {
            get;
            set;
        }

        /// <summary>
        /// 配送企业编号
        /// </summary>
        public string CompanyID_PS
        {
            get;
            set;
        }

        /// <summary>
        /// 配送企业名称
        /// </summary>
        public string CompanyName_PS
        {
            get;
            set;
        }

        /// <summary>
        /// 当前节点号
        /// </summary>
        public string CurrentNode
        {
            get;
            set;
        }

        /// <summary>
        /// 采购数量
        /// </summary>
        public int? PurchaseCount
        {
            get;
            set;
        }

        /// <summary>
        /// 采购价格
        /// </summary>
        public decimal? Price
        {
            get;
            set;
        }

        /// <summary>
        /// 采购金额
        /// </summary>
        public decimal? Amount
        {
            get;
            set;
        }

        /// <summary>
        /// 执行时间
        /// </summary>
        public System.DateTime? ExecuteTime
        {
            get;
            set;
        }
        /// <summary>
        /// 入库时间
        /// </summary>
        public System.DateTime? WarehouseTime
        {
            get;
            set;
        }

        /// <summary>
        /// 采购单明细状态标识:0未确认;1已提交;2已确认（已确认的采购单，就不可以再修改了）
        /// </summary>
        public int? OrderDetailState
        {
            get;
            set;
        }

        /// <summary>
        /// 退货数量
        /// </summary>
        public int? ReturnCount
        {
            get;
            set;
        }

        /// <summary>
        /// 配送流水号
        /// </summary>
        public string DistributionSerialID
        {
            get;
            set;
        }

        /// <summary>
        /// 配送总量
        /// </summary>
        public int? DistributeCount
        {
            get;
            set;
        }
        /// <summary>
        /// 本次配送单配送量
        /// </summary>
        public int? Dis_DistributeCount
        {
            get;
            set;
        }

        /// <summary>
        /// 配送时间
        /// </summary>
        public System.DateTime? DistributeTime
        {
            get;
            set;
        }
        /// <summary>
        /// 配送状态:0已配送;1已验收入库
        /// </summary>
        public int? DistributeState
        {
            get;
            set;
        }
        /// <summary>
        /// 已入库总量
        /// </summary>
        public int? WarehouseCount
        {
            get;
            set;
        }

        /// <summary>
        /// 余量（采购数量-已入库量）
        /// </summary>
        public int? Balance
        {
            get;
            set;
        }

        /// <summary>
        /// 本次配送单 入库量
        /// </summary>
        public int? Dis_WarehouseCount
        {
            get;
            set;
        }

        /// <summary>
        /// 入库时间
        /// </summary>
        public System.DateTime? WarehouseTimelai
        {
            get;
            set;
        }
        /// <summary>
        /// 是否已开发票(0否;1是)
        /// </summary>
        public bool? IsInvoice
        {
            get;
            set;
        }

        /// <summary>
        /// 配送批号
        /// </summary>
        public string BatchRecordID
        {
            get;
            set;
        }

        /// <summary>
        /// 拼音码
        /// </summary>
        public string PinyinCode
        {
            get;
            set;
        }
        /// <summary>
        /// 地区名
        /// </summary>
        public string AreaName { get; set; }

        /// <summary>
        /// 五笔码
        /// </summary>
        public string WBCode
        {
            get;
            set;
        }
        /// <summary>
        /// 配送金额
        /// </summary>
        public decimal? DistributeAmount { get; set; }
        public int? Settlecount { get; set; } //可结算数量
        public string SettleAmount { get; set; } //可结算金额
    }
}